<?php 
include_once("../model/Model.php");
$model = new Model();
                                	$ans = $model->getvideo();
                                	foreach($ans as $row)
                                	{
                                 	?>
                                <table border="0">
                            	<tr>
                                	<td>
                                   	
                                        <table border="0" style="font-size:10px" width="150">
                                            <tr><td colspan="2">
                                                <OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" WIDTH="160"HEIGHT="144" CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
                                                <PARAM name="SRC" VALUE="view/vault/<?php echo $_SESSION['user_id']; ?>/video/<?php echo $row['album']; ?>/<?php echo $row['url']; ?>">
                                                <PARAM name="AUTOPLAY" VALUE="false">
                                                <PARAM name="CONTROLLER" VALUE="true">
        										<EMBED SRC="view/vault/<?php echo $_SESSION['user_id']; ?>/video/<?php echo $row['album']; ?>/<?php echo $row['url']; ?>" WIDTH="160" HEIGHT="144" AUTOPLAY="false" CONTROLLER="true" PLUGINSPAGE="http://www.apple.com/quicktime/download/">
                                                </EMBED>
                                                </OBJECT>
                                            
                                            	<!--<embed src="view/vault/<?php echo $_SESSION['user_id']; ?>/video/<?php echo $videoDetail[1]['album']; ?>/<?php echo $videoDetail[0]['url']; ?>" height="170" width="150" autostart="true" style="border:1px solid #ccc;" />-->
                                                </td>
                                            </tr>
                                            <tr><td colspan="2"><b><?php echo $row['url']; ?></b></td></tr>
                                            <tr>
                                                <td>Views 10,120,12</td>
                                                <td align="right"><img src="view/img/vault_icons/16/download.png" height="15" width="15" /><img src="view/img/vault_icons/16/settings.png" height="15" width="15" /><img src="view/img/vault_icons/16/flag.png" height="15" width="15" /></td>
                                            </tr>
                                        </table>
                                    
                                    </td>
                                </tr>
                            	</table>
                                <?php
									}
									?>